00001 00005 class OSGWindows; 00006 00007 class CommandCut :public Command 00008 { 00009 private: 00010 00015 OSGWindows* osgwind_; 00016 00021 vector <TraffEduObject*> cutObjs_; 00022 00027 vector <TraffEduObject*> tmpCutObjs_; 00028 00033 vector <TraffEduObject*> tmpCopiedObjs_; 00034 00039 int rightCLK; 00040 00045 TraffEduObject* obj_; 00046 00047 public: 00048 00055 CommandCut(OSGWindows* osgwind ); 00056 00064 CommandCut(OSGWindows* osgwind,TraffEduObject* obj); 00065 00070 bool execute(); 00071 00076 bool unexecute(); 00077 00078 00079 };
1.4.6-NO